package com.zwps.biz.domain.converter;

import com.zwps.biz.api.model.vo.heating.RealTimeHeatingVO;
import com.zwps.biz.dal.db.object.RealTimeHeatingDO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

@Mapper
public interface RealTimeHeatingConverter {

    RealTimeHeatingConverter INSTANCE = Mappers.getMapper(RealTimeHeatingConverter.class);

    @Mapping(source = "createTime", target = "createTime")
    @Mapping(source = "findTime", target = "findTime")
    RealTimeHeatingVO toRealTimeHeatingVO(RealTimeHeatingDO realTimeHeatingDO);

}
